package edu.sctu.wangfuxin.day20150601testtrain;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 鑫爷您慢点 on 2015/6/6.
 */

/**
 * 运行中的地铁类
 */
public class RunningSubway {

    private boolean is_safe;

    public RunningSubway(){}

    public RunningSubway(boolean is_safe){
        this.is_safe = is_safe;
    }

    public void setIs_safe(boolean is_safe) {
        this.is_safe = is_safe;
    }

    public boolean isIs_safe() {
        return is_safe;
    }

    public List<RunningSubway> setRunningSubwayData(){
        List<RunningSubway> list = new ArrayList<RunningSubway>();
        list.add(new RunningSubway(true));
        list.add(new RunningSubway(true));
        list.add(new RunningSubway(false));
        list.add(new RunningSubway(true));
        return list;
    }

}
